home *** CD-ROM | disk | FTP | other *** search
/ Computer Inter@ctive 16 / Computer Interactive cdrom 16 - dic 98.iso / zdnetit / content / REPMUSIK.ZIP / RPM.DOC < prev   
Encoding:
Text File  |  1997-11-20  |  17.7 KB  |  428 lines

  1.  
  2.  
  3.                       Kurian Thomas and Jayakrishnan K
  4.  
  5.                                 P R E S E N T
  6. ┌▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄┌──────────────────────┐▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄┐
  7. │▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│ RaPMusik Ver [1.04]  │▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
  8. ├▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀└──────────────────────┘▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀┤
  9. |      The Freeware          \________________/         WAV/RPM Player      |
  10. |_                             \____________/                              _|
  11.   \____________________________/▒▒▒▒▒▒▒▒▒▒▒▒\_____________________________/
  12.                       \______________________________/
  13.  
  14.  
  15.  
  16.    ■ Works even on a PC/XT !!!
  17.      RaPMusik now has a slow mode that allows it to run even on a XT @10 Mhz.
  18.  
  19.    ■ WAV File Support
  20.      RaPMusik can now playback any PCM (Pulse Code Modulated), Stereo/Mono,
  21.      16 bit or 8 bit .WAV files on the PC Speaker.
  22.  
  23.    ■ HGA/MGA (Monochrome) displays supported
  24.      RaPMusik now  supports  the  Monochrome 720x348 mode as also the earlier
  25.      640x200 CGA  mode,  which  allows  it  to  run  on  all  graphics  video
  26.      adapters currently available.
  27.  
  28.    ■ Auto playback feature
  29.      RaPMusik can now be asked to play a song a specified number of times and
  30.      then  exit  to DOS. This will allow RaPMusik to be run from a batch file
  31.      without any user intervention.
  32.  
  33.    ■ User defined colors
  34.      Foreground as well  as  background colors used by RaPMusik can be set by
  35.      the user. (The  exact  number  of  colors available depends on the video
  36.      adapter present).
  37.  
  38.    ■ Default settings through environment variable RPM
  39.      All  default  setting  including  the colors, volume, speed, repeats and
  40.      device can be setup using the environment variable RPM.
  41.  
  42.    ■ Improved mouse handling
  43.      Mouse handling routines have been  improved so as to provide auto repeat
  44.      features.  The  File  selection  now  includes the drives present in the
  45.      system, which allows you  to change drives with the mouse. The mouse can
  46.      also be used to delete  portions  of the filename string by blocking it.
  47.  
  48.    ■ Software incompatibility warnings
  49.      Programs  that switch the machine into protected mode, either to provide
  50.      EMS memory or multitasking, but cause programs like RaPMusik to function
  51.      incorrectly, are now detected at startup and a warning displayed.
  52.  
  53.  
  54.                                         *
  55.                                           \
  56.                                             \
  57.                                               \
  58.                                                 \
  59.                              ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ \
  60.                              █                  █   \
  61.  ┌─────────────────┐╓────────▀──────────────────▀────┴───╖┌─────────────────┐
  62.  │╔═══════════════╗│║                                    ║│╔═══════════════╗│
  63.  │|░░░░░░░░░░░░░░░|│║      Record and Playback Music     ║│|░░░░░░░░░░░░░░░|│
  64.  │                 │║ ┌────────────────────────────────┐ ║│                 │
  65.  │     _______     │║ │  ┌───────────┐                 │ ║│     _______     │
  66.  │   /  _____  \   │║ │  │           │                 │ ║│   /  _____  \   │
  67.  │ /  /       \  \ │║ │  │   *   *   │   ┌─┬─┬─┬─┐     │ ║│ /  /       \  \ │
  68.  │| /     ▄     \ |│║ │  │           │   │0│0│0│0├┬┐   │ ║│| /     ▄     \ |│
  69.  │| \           / |│║ │  └───────────┘   └─┴─┴─┴─┴▀┘   │ ║│| \           / |│
  70.  │ \  \ _____ /  / │║ └─┬──┬──┬──┬──┬──┬───────────────┘ ║│ \  \ _____ /  / │
  71.  │   \ _______ /   │║   │██|██|██|██|██│   ╔═╗ ╔═╗ ╔╦╗   ║│   \ _______ /   │
  72.  │                 │║   └──┴──┴──┴──┴──┘   ╠╦╝ ╠═╝ ║ ║   ║│                 │
  73.  └─────────────────┘╙────────────────────────────────────╜└─────────────────┘
  74.  
  75.  
  76. Hardware Requirements:
  77. ======================
  78.  
  79.    Minimum:
  80.          PC XT @10 MHz
  81.          400KB free conventional memory
  82.          A good Internal Speaker
  83.          DOS ver 4.0 or above
  84.  
  85.    Recommended:
  86.          PC AT  386  @33 MHz
  87.          500KB free conventional memory
  88.          1 MB free extended memory
  89.          Mouse
  90.          A good Internal Speaker (Sound Blaster/Covox, if available)
  91.          DOS ver 4.0 or above
  92.  
  93.  
  94.      Since  a  wave  track of around 60 secs at 22050 Hz takes around 1 Mb of
  95.  disk space,  the  entire  file  will not fit into the available conventional
  96.  memory. This leads to buffer  fill  breaks  during  playback which may cause
  97.  the music  to pause occasionally  to load  the buffer.  These  breaks in the
  98.  playback  will  not  occur  if  there  is  sufficient  free extended memory.
  99.  Remember  RaPMusik can use the available XMS memory  only  if  HIMEM.SYS has
  100.  been loaded.
  101.  
  102.  
  103. Power Tips:
  104. ===========
  105.  
  106.    ■ The  scrolling  of  the  message can be stopped at any time by using the
  107.  space bar. This functions  as a toggle switch. Next time you depress it, the
  108.  scrolling resumes.
  109.  
  110.  
  111.    ■ Rapmusik always waits for some time before repeating the playback.  This
  112.  wait  period  can be cut short by pressing the <Enter> key or the Left Mouse
  113.  Button.
  114.  
  115.  
  116.    ■ In  the  "Enter Filename" prompt under "Playback", the key <CTRL> <BKSP>
  117.  will  cause  RaPMusik to  delete  characters  until  and  including the last
  118.  backslash. This  is very useful when one wants to load another file from the
  119.  same directory. Instead of keeping the <BKSP> key pressed, Just one press of
  120.  <CTRL> <BKSP> and then <Enter> will allow you to view those files.
  121.  
  122.  
  123.    ■ To  obtain  the title  of  a song when at DOS prompt, simply give a type
  124.  command  on  the .rpm file. eq: assume that the title of the file "RHAP.RPM"
  125.  has to obtained. Just execute the command given below
  126.  
  127.             TYPE RHAP.RPM
  128.  
  129.           to display the title of the RHAP.RPM file.
  130.  
  131.  
  132.    ■ RaPMusik has  the facility to load and start song playback. This is done
  133.  by adding the filename as the command line parameter.
  134.  
  135.              eq: RPM c:\songs\RHAP.RPM
  136.  
  137.          one can also specify a directory, or include wildcard characters,
  138.          which will cause RaPMusik to display a selection of the appropriate
  139.          files.
  140.  
  141.              eq: RPM c:\songs
  142.                  RPM c:\songs\*.*
  143.  
  144.  
  145.    ■ RaPMusik can  be  run  in  two modes, Manual and Automatic. The examples
  146.  shown so far requires user intervention, either to start playback or to stop
  147.  it.In Automatic mode RaPMusik runs a song a specified number of times before
  148.  returning to DOS.
  149.  
  150.              eq: RPM c:\songs\RHAP.RPM 2
  151.  
  152.          Will  play  the file RHAP.RPM two times and then return to DOS. This
  153.          facility  is useful when you want to run a series of specified songs
  154.          one after the other from a batch file.
  155.  
  156.          NOTE: If  ESC key is used to stop playback or if an error (like file
  157.                not found) occurs,RaPMusik immediately reverts to Manual mode.
  158.  
  159.  
  160.    ■ The syntax for the environment variable RPM is
  161.  
  162.           set RPM=DEVICE, M[f][s], Fno, Bno, Dno, Vno, Rno, G[on][off]
  163.  
  164.           where:
  165.                    DEVICE can be either SPK for Internal Speaker, SB
  166.                    for Sound Blaster or CV for Covox Speech Thing.    (SPK)
  167.  
  168.                    Optionally, the base address of playback device can
  169.                    be supplied. eq. set RPM=SB:220, will set the      (220)
  170.                    base address of Sound Blaster to 220h. Similarly
  171.                    the base address of Covox can be set to LPT1 by
  172.                    setting RPM to CV:378.                             (378)
  173.  
  174.                    M[f][s] is the Mode the demo should run in.
  175.                            Mf = Fast Mode, Ms = Slow Mode.           (CALC)
  176.  
  177.                    Fno is the Foreground color and no ranges from 0-63. (3)
  178.  
  179.                    Bno is the Background color and no ranges from 0-63. (0)
  180.  
  181.                    Dno is the Demo Speed and no ranges from 1-1000.  (CALC)
  182.  
  183.                    Vno is the Volume and no ranges from 1-10.           (5)
  184.  
  185.                    Rno is Number of Times the song should be repeated
  186.                        and no ranges from 1-30000.                  (30000)
  187.  
  188.                    G[on][off] is to enable/disable the percentage bar
  189.                            that is displayed during disk accesses.     (on)
  190.  
  191.  
  192.           ()     = Default.
  193.           (CALC) = Determined at run time by RaPMusik.
  194.  
  195.  
  196.           NOTE: The  command  line  gets  precedence  over the environment
  197.                 variable regarding the number of times the playback should
  198.                 occur.
  199.  
  200.                 The  HGA/MGA  adapter  cannot  display  colors and on this
  201.                 adapter, RaPMusik will always have  the default setting of
  202.                 F7,B0.
  203.  
  204.                 Colors from 16-63 are available only on the EGA/VGA cards.
  205.  
  206.                 The background color (Bno) is valid only on EGA/VGA cards.
  207.                 On a normal CGA card the background color is always set to
  208.                 B0 (Black).
  209.  
  210.                 If the default device is  set to SB  (Sound Blaster) and a
  211.                 Sound Blaster card is  not present in the system, RaPMusik
  212.                 defaults to the Internal Speaker.
  213.  
  214.                 If the machine is slow, or if RaPMusik is forced into slow
  215.                 mode through  the  "set RPM=Ms" command, the DEVICE is
  216.                 always  taken  to be  SPK or CV. In other words, the Sound
  217.                 Blaster option is not available under slow mode.
  218.  
  219.                 A question mark (?) for the foreground or background color,
  220.                 causes rapmusik to select a random color combination.
  221.  
  222.  
  223.  
  224. Trouble Shooting:
  225. =================
  226.  
  227.      If  RaPMusik  comes out after starting playback, stating that the machine
  228.  may be slow after all, set  the environment variable RaPMusik to Ms to force
  229.  RaPMusik into Slow mode and then rerun RaPMusik.
  230.  
  231.            eq:       C:\MUSIC> set RPM=Ms
  232.  
  233.                      C:\MUSIC> RPM <┘
  234.  
  235.  
  236.      If RaPMusik refuses to load, or otherwise hangs, this could be due to an
  237.  incompatibility  or  conflict  with  a  resident program(TSR). Try executing
  238.  RaPMusik after  removing  all  TSR  software  from the system. Remember this
  239.  includes any device drivers also.
  240.  
  241.  
  242.      If  RaPMusik loads, but the sound is garbled or not otherwise clear, Try
  243.  executing RaPMusik  after removing all TSR software including device drivers
  244.  from memory. This can be achieved in DOS 6.00 and above by using the F5 key.
  245.  Press  F5  when  the  "Starting  MS-DOS"  message  appears  and  you  bypass
  246.  execution  of both config.sys and autoexec.bat. This will ensure that no TSR
  247.  programs are currently in memory. If RaPMusik still fails to load, drop us a
  248.  mail  at  "rpm@xtendmail.com"  stating  the  machine type and configuration,
  249.  current  contents  of  the  "config.sys"  and  "autoexec.bat"  with complete
  250.  details of what happened when "RPM.COM" was run.
  251.  
  252.  
  253. Sound Blaster & Covox:
  254. ======================
  255.  The original Sound Blaster has a maximum playback rate of just 23 KHz. Songs
  256.  which require a playback rate larger than 23 KHz will therefore tend to drag
  257.  during  playback. It  should  be noted that this problem does not occur with
  258.  the  Sound Blaster Pro and later versions which have a maximum playback rate
  259.  of 44 KHz.
  260.  
  261.  
  262.  
  263. HGA/MGA Adapters:
  264. =================
  265.  The  HGA/MGA adapters  do  not support color and RaPMusik always defaults to
  266.  F7,B0 irrespective of the environment variable setting.
  267.  
  268.  On  a  HGA/MGA  adapter  RaPMusik uses only a small window of 640x200 on the
  269.  screen  of 720x384 pixels.RaPMusik uses the whole screen only in the CGA,EGA
  270.  and  VGA  adapters. If your card supports both MGA and CGA, switching to CGA
  271.  using  the  mode  command(mode co80)  will enable RaPMusik to use the entire
  272.  screen.
  273.  
  274.  
  275.  
  276. Protected Mode Warning:
  277. =======================
  278.  The  INTEL  80286  microprocessor  has  what is called the REAL mode and the
  279.  PROTECTED (PVAM)  mode. The  REAL  mode  exists  for  downward compatibility
  280.  with  the  8086 microprocessor, while the PROTECTED mode is designed keeping
  281.  in  mind  the  need  to   perform  multitasking.  In  this  mode  the  80286
  282.  microprocessor  has  access  to  the  full  16  MB of address space, as also
  283.  virtual memory capacity of upto 1 GB.
  284.  
  285.  The  next microprocessor by INTEL, the 80386 added a further mode called the
  286.  Virtual 8086 mode which enables one 80386 to emulate multiple 8086 machines.
  287.  This  microprocessor  also  added the capability to address upto 4 GB of RAM
  288.  (provided you can afford that much), virtual memory addressing of upto 64 Tb
  289.  (Tera  bytes)  and  a  Memory  Paging  Unit which allows it to translate any
  290.  given logical address to any given physical address. This Memory Paging Unit
  291.  unfortunately functions only under the PROTECTED mode and the V8086 modes.
  292.  
  293.  Although  DOS  (at least until ver 5.00) worked primarily in REAL mode, Some
  294.  wise  programmer  figured that it is possible to use the unused memory above
  295.  640KB  and below 1 MB as UMB's on a 386, since all that has to be done is to
  296.  ask  the Memory  Paging Unit to translate that logical address to a physical
  297.  address  above  1 MB. They  fiddled  around with the idea and came up with a
  298.  further  bonus (a EMS emulator)  that  would interpret EMS calls and swap in
  299.  memory  from  above 1 MB. Thus a host of such software (including eventually
  300.  EMM386) made their appearance.
  301.  
  302.  But  as  mentioned  earlier,  the  Memory  Paging Unit would work only under
  303.  PROTECTED  mode.  Therefore  these EMS emulators switch a 386 into PROTECTED
  304.  mode  to  provide extra memory in the form of UMB's and EMS pages (which few
  305.  current software recognise anyway). Under PROTECTED mode all interrupts  are
  306.  redirected  to  the  root  process  and  only  then filter down to reach the
  307.  application  software. This interfers  with programs that attempt to sustain
  308.  high interrupt rates, thereby  preventing such programs (including RaPMusik)
  309.  from working as expected.
  310.  
  311.  The Solution:
  312.  
  313.  If  RaPMusik  reports that the machine is currently in PROTECTED mode, It is
  314.  advisable to remove all  EMS emulators, Multitasking OS etc.  (It is best if
  315.  you  can  completely bypass the execution of the config.sys and autoexec.bat
  316.  files) and only then execute RaPMusik.
  317.  
  318.  
  319. Critical Error Messages:
  320. ========================
  321.  
  322.   1) STACK HANDLER FAILURE
  323.  
  324.    An error  has  occurred in the  stack handling functions of RaPMusik. This
  325.    should  not  occur  under normal circumstances. If this error is occurring
  326.    repeatedly, please report it and the circumstances under which it occurred
  327.    to the authors.
  328.  
  329.    Solution: Rerun RaPMusik.
  330.  
  331.  
  332.   2) MALLOC FAILED
  333.  
  334.    The  attempt to allocate memory using the C function malloc() has returned
  335.    an  error. This should not occur under normal circumstances. If this error
  336.    is  occurring  repeatedly, please  report  it  and the circumstances under
  337.    which it occurred  to the authors.
  338.  
  339.    Solution: Remove any TSR program is any and Rerun RaPMusik.
  340.  
  341.  
  342.   3) NEED GRAPHICS ADAPTER
  343.  
  344.    RaPMusik is  unable to recognise the video adapter present in this system.
  345.    RaPMusik supports the HGA/MGA  mode and the CGA mode. Any other card (like
  346.    the EGA and VGA cards) which are downward compatible with the CGA are also
  347.    supported.
  348.  
  349.    Solution: Run RaPMusik on a system having a HGA/MGA, CGA, EGA or VGA card.
  350.  
  351.  
  352.   4) WINDOWS NESTED TOO DEEP
  353.  
  354.    The  maximum  number of windows that can be opened has been exceeded. This
  355.    error  should  not  occur  under  normal  circumstances. If  this error is
  356.    occurring  repeatedly, please  report it and the circumstances under which
  357.    it occurred to the  authors.
  358.  
  359.    Solution: Rerun RaPMusik.
  360.  
  361.  
  362.   5) INVALID ENVIRONMENT SETTINGS
  363.  
  364.    This  Error  message  occurs  only if there is an internal buffer overflow
  365.    while  processing  the  RPM  environment  string.  This occurs because the
  366.    values  specified in the  environment variable are too large and therefore
  367.    invalid.
  368.  
  369.    Solution: Correct or Remove the RPM environment variable using the
  370.              DOS 'SET' command and then rerun RaPMusik.
  371.  
  372.  
  373.   7) DEFAULT ERROR HANDLER
  374.  
  375.    Critical Error:  Error  Code Not in Error Handler. This error should never
  376.    occur.                                     (I wouldn't bet on it - Murphy)
  377.  
  378.  
  379.              Actually  this  message  has been left in as a catch all for any
  380.              other  errors  handler  calls  that  may  have  been  coded  in.
  381.              Be sure to inform us if this error is reported by RaPMusik.
  382.  
  383.    Solution: Rerun RaPMusik.
  384.  
  385.  
  386. Disclaimer:
  387. ===========
  388.  
  389.      RaPMusik can and does monopolize the use of system interrupts to achieve
  390.  clarity during playback.Therefore it is recommended that RaPMusik should not
  391.  be  run  under  a  multitasking shell like windows or in a file server. This
  392.  software  has  been tested on a standalone PC AT 386 @40 MHz machine running
  393.  DOS ver 6.22  and  has  been  found  to  be functioning satisfactorily. This
  394.  however  does  not  imply that  RaPMusik will work on all machines currently
  395.  available. If you detect an incompatibility, kindly inform the authors about
  396.  it.
  397.  
  398.  
  399. Policy:
  400. =======
  401.  
  402.    THIS SOFTWARE CAN BE FREELY COPIED OR GIVEN AWAY PROVIDED -
  403.  
  404.      1) NO MODIFICATIONS ARE MADE TO THE FILES "RPM.COM" & "RPM.DOC"
  405.  
  406.      2) THIS DOCUMENTATION MUST  ACCOMPANY  EVERY  COPY  OF THE "RPM.COM"
  407.         EXECUTABLE FILE.
  408.  
  409.      3) NO FEE IS CHARGED ON ANY PERSON DESIRING TO OBTAIN THIS DEMO.
  410.  
  411.  
  412. Contact Address:
  413. ================
  414.  
  415.      Xtend Technologies (P) Ltd.
  416.      "Blue Hill", Kalathiparambil Lane
  417.      Ernakulam South, Kochi - 682 016.
  418.  
  419.      Phone: +91-484-366495, 362447
  420.      Mail : rpm@xtendmail.com
  421.      BBS  : +91-484-366495
  422.      Web  : http://www.xtendtech.com
  423.  
  424.  X--------------------------------------------------------------------------X
  425.                             ------------------
  426.                                ------------
  427.                                   -------
  428.